package com.zhike.service.im.manager;

import java.util.List;

import com.zhike.common.dto.GroupMember4Cache;
import com.zhike.mobileimsdk.server.protocal.Protocal;

import lombok.extern.slf4j.Slf4j;

/**
 * 消息管理接口
 */
@Slf4j
public abstract class MessageManager {

    /**
     * 目标设备
     * 
     * @return
     */
    public abstract List<String> targetDevices();

    @Deprecated
    public abstract List<String> addTargetDevices();

    /**
     * 通知消息体
     * 
     * @param p
     * @return
     */
    public abstract String buildNotificationBody();

    /**
     * 通知目标
     * 
     * @return
     */
    public abstract List<GroupMember4Cache> targetDevicesForNotify();

}
